#ifndef __KEY_H
#define __KEY_H

#include "main.h"
#include "led.h"
typedef enum{
    KEY0_UP,
    KEY0_DOWN,
    KEY1_UP,
    KEY1_DOWN

}KEYState_typedef;

KEYState_typedef KEY0_GetState(void);

#define KEY0_DOWN_LEVEL GPIO_PIN_RESET
#define KEY1_DOWN_LEVEL GPIO_PIN_RESET
#endif
